﻿@model IEnumerable<Janus.Mes.VO.SysConfigVO>
@{
    Layout = null;
    int i = 1;
    ViewBag.ViewTitle = "系统参数管理";
}
<form id="pagerForm" method="get" action="System/SysConfig/index?action=page&OpID=@ViewData["OperateID"]">
    <input type="hidden" name="pageNum" value="1" />
    <input type="hidden" name="numPerPage" value="@ViewData["pageSize"]" />
    <input type="hidden" name="RowCount" value="@ViewData["RowCount"]" />
    <input type="hidden" name="Title" value="@ViewData["Title"]" />
</form>
<div class="pageHeader">
    <form onsubmit="return navTabSearch(this);" id="Form_@ViewData["CurrentController"]" action="System/SysConfig/index?action=search&OpID=@ViewData["OperateID"]"
          method="post">
        <div class="searchBar">
            <table class="searchContent">
                <tr>
                    <td>
                        标题：
                    </td>
                    <td>
                        @Html.TextBox("Title", ViewData["Title"])
                    </td>
                    <td align="right">
                        <div class="subBar">
                            <ul>
                                <li>
                                    <div class="buttonActive">
                                        <div class="buttonContent">
                                            <button type="submit" name="submit">
                                                查询
                                            </button>
                                        </div>
                                    </div>
                                </li>
                            </ul>
                        </div>
                    </td>
                </tr>
            </table>
        </div>
    </form>
</div>
<div class="pageContent">
    @Html.Partial("Buttons", ViewData["CurrentPageButtons"])
    <table class="list" width="100%" layouth="92">
        <thead>
            <tr class="header">
                <th style="width: 150px">
                    序号
                </th>
                <th>
                    关键字
                </th>
                <th>
                    标题
                </th>
                <th>
                    内容
                </th>
            </tr>
        </thead>
        @foreach (var item in Model)
        {
            <tr target="SysConfig_id" rel="@item.Key">
                <td>
                    @i
                </td>
                <td>
                    @item.Key
                </td>
                <td>
                    @item.Title
                </td>
                <td>
                    @item.Value
                </td>
            </tr>
            i += 1;
        }
    </table>
</div>
@Html.Partial("PageBar")